how to remove https link from javascript

72

how to remove https link from javascript -

result = url.replace(/(^\w+:|^)\/\//, '');

Comments

Submit
0 Comments